/*
 * @Author: 1960116313@qq.com 1960116313@qq.com
 * @Date: 2023-10-23 14:13:58
 * @LastEditors: 1960116313@qq.com 1960116313@qq.com
 * @LastEditTime: 2023-10-24 16:31:32
 * @FilePath: \panuniapp\src\api\user.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from "@/utils/request";

// 登录
export function Login(data) {
  return request({
    url: "/iot-auth/oauth/token",
    method: "post",
    params: data,
    // requestTime:0,
    // loading:true
  });
}
//表示数
export function statistics() {
  return request({
    url: "/iot/trafficRecord/statistics",
    method: "get",
  });
}

// export function GetSchoolbyid(data) {
//   return request({
//     url: xxxxx,
//     method: "post",
//     params: data,
//   });
// }
// export function ParentsLogin(data) {
//   return request({
//     url: xxxxxx,
//     method: "get",
//     params: data,
//   });
// }
